package com.linewell.service;

import com.linewell.entity.ReplyVo;
import com.linewell.entity.UserInfo;
import com.linewell.utils.Msg;

import java.util.List;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/2/21
 */
public interface ICommentService {


    Msg insertComment(long articleId, String content, UserInfo userInfo,long articleByUserID);

    Msg getReply(long userId,long articleId,int page);

    Msg getCommentByUserId(long userId, int page);

    Msg deleteComment(long replyId);

    Msg godComment(long articleId);

    Msg getHotReply(int page);

    Msg insertReply(Long commentId, Long replyFromId, Long replyToId, String content);

    int getReplyCount();

    List<ReplyVo> getReplyList(int page, int limit);

    Msg updataReplyCheck(Long replyId);

    Msg deleteReplyByReplyId(Long replyId);

    Msg updataAllReply(String replyIds);
}

